# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-beetle-vb
pkgver=0_git20220409
pkgrel=0
_commit="246555f8ed7e0b9e5748b2ee2ed6743187c61393"
pkgdesc="standalone port of Mednafen VB to libretro"
url="https://github.com/libretro/beetle-vb-libretro"
arch="all"
license="GPL-2.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/beetle-vb-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/beetle-vb-libretro-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 mednafen_vb_libretro.so "$pkgdir"/usr/lib/libretro/mednafen_vb_libretro.so
}

sha512sums="
d4590f95d9aff84d9ee7328b9a8c9ec675c22742e5392ca3e3de655cc4142519118e8cd3fb2b851d23d55d1fff3a0da4e118e52c58d0337469d2298bd70c0c05  libretro-beetle-vb-246555f8ed7e0b9e5748b2ee2ed6743187c61393.tar.gz
"
